import request from "../until/request";


export function getNewList(pageNum,pageSize,categoryId,title="") {
    const params = new URLSearchParams();
    params.append("pageNum",pageNum);
    params.append("pageSize",pageSize);

    if(categoryId){
        params.append("categoryId",categoryId);
    }
    params.append("title",title)
    return request.post("https://showme.myhope365.com/api/cms/article/open/list",params);

}